﻿using DOHS_WM6.Classes;
using System;

namespace DOHS_WM6.Fichas
{
    public partial class formFluoroseDentaria : FormDOHS
    {
        #region Construtor
        public formFluoroseDentaria()
        {
            InitializeComponent();
        }
        #endregion

        #region Eventos
        private void btn_Click(object sender, EventArgs e)
        {
            base.Button_Click(sender, e);
        }

        private void txt_GotFocus(object sender, EventArgs e)
        {
            base.TextBoxGotFocus(sender, e);
        }

        private void btnGravar_Click(object sender, EventArgs e)
        {
            ControleDados.FichaDOHS.AvaliacaoClinica.FluoroseDentaria = txtFluoroseDentaria.Text;

            ControleFormularios.MostraProximaFicha();
        }

        private void btnVoltar_Click(object sender, EventArgs e)
        {
            ControleFormularios.MostraFichaAnterior();
        }

        public override void MostraFormulario()
        {
            txtFluoroseDentaria.Focus();

            txtFluoroseDentaria.Text = ControleDados.FichaDOHS.AvaliacaoClinica.FluoroseDentaria;

            base.MostraFormulario();
        }        
        #endregion 
    }
}